package br.usp.ime.dojo.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface IdentificationServiceAsync {
	void identify(String name, AsyncCallback<UserDTO> callback);
	void getUser(String name,AsyncCallback<UserDTO> callback);
	void getSession(String sessionId, AsyncCallback<SessionDTO> callback);
	void addSession(SessionDTO session,AsyncCallback<String> callback);
	void getRoom(String userPlace, AsyncCallback<DojoRoomDTO> callback);
	void removeUser(String userName, AsyncCallback<Void> callback);
}

